home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / appkit / PopUpList.h < prev    next >
Text File  |  1990-10-15  |  1KB  |  44 lines

  1. /*
  2.     PopUpList.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "Menu.h"
  8.  
  9. @interface  PopUpList : Menu
  10. {
  11. }
  12.  
  13. extern void NXAttachPopUpList(id button, PopUpList *popuplist);
  14. extern id NXCreatePopUpListButton(PopUpList *popuplist);
  15.  
  16. - init;
  17.  
  18. - popUp:sender;
  19. - addItem:(const char *)title;
  20. - insertItem:(const char *)title at:(unsigned int)index;
  21. - removeItem:(const char *)title;
  22. - removeItemAt:(unsigned int)index;
  23. - (unsigned int)count;
  24. - changeButtonTitle:(BOOL)flag;
  25. - (int)indexOfItem:(const char *)title;
  26. - font;
  27. - setFont:fontId;
  28. - (const char *)selectedItem;
  29. - getButtonFrame:(NXRect *)bframe;
  30. - (SEL)action;
  31. - setAction:(SEL)aSelector;
  32. - target;
  33. - setTarget:anObject;
  34. - sizeWindow:(NXCoord)width :(NXCoord)height;
  35.  
  36. /* 
  37.  * The following new... methods are now obsolete.  They remain in this  
  38.  * interface file for backward compatibility only.  Use Object's alloc method  
  39.  * and the init... methods defined in this class instead.
  40.  */
  41. + new;
  42.  
  43. @end
  44.